﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;

namespace TMDT_Nhom1A.Customer
{
    public partial class ThanhToan_Buoc5_HoanThanh : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                //kiem tra co qua buoc 2 chưa
                //Session["Step"] = 4;

                if (Session["Step"].ToString() == "4")
                {
                    Success.Visible = true;
                    failure.Visible = false;                 
                    Session["Step"] = 5;
                }
                else
                {                
                    failure.Visible = true;
                    Success.Visible = false;
                }
            }
        }
    }
}
